/**
 * @file app_freemodbus_HMI.h
 * @author carl.pan (1586975697@qq.com)
 * @brief 
 * @version 0.1
 * @date 2025-06-29
 * 
 * @copyright Copyright (c) 2025
 * 
 */

#ifndef __FREEMODBUS_APP_H__
#define __FREEMODBUS_APP_H__

#include "stdbool.h"
#include "mb.h"
#include "user_mb_app.h"

#define MB_ADDRESS_FINGER_LEFT_CMD (40000)
#define MB_ADDRESS_FINGER_RIGHT_CMD (40001)
#define MB_ADDRESS_WORKBIN_CMD (40002)

#define MB_ADDRESS_FINGER_LEFT_STATE (30000)
#define MB_ADDRESS_FINGER_RIGHT_STATE (30001)
#define MB_ADDRESS_WORKBIN_STATE (30002)

void ModbusService(void);
void ModbusMasterService_10ms(void);

#endif /* __FREEMODBUS_APP_H__ */
